home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PD ROM 1
/
PD ROM Volume I - Macintosh Software from BMUG (1988).iso
/
Education
/
Computer Science⁄EE
/
DigSim Files
/
2 bit ALU doc
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1986-10-26
|
525 b
|
23 lines
|
[
TEXT/ttxt
]
2 bit Arithmetic Logic Unit
C1 C2
| |
-------------
A=a1 a0 ----| |
| |---- Z=z1z2
B=b1 b0 ----| |
| |
CarryIn ----| |---- CarryOut
-------------
C1 C2 Operation
___ ___ _________
0 0 A + B
0 1 A + B + CarryIn
1 0 A + 2s complement of B
1 1 A + 1s complement of B + carry